﻿using System;
using System.Windows;

namespace MEF_Test.Contracts
{
    public interface ITemplateProvider
    {
        DataTemplate GetTemplate(string templateKind);

        /// <summary>
        ///  Registers a template provider to be used with a specific templateKind
        /// </summary>
        /// <param name="templateKind">the templateKind the DataTemplate should be registered with</param>
        /// <param name="templateGuid">the GUID of the exported part providing the desired template. (Found in MetaData)</param>
        void AddTemplateKind(string templateKind, Guid templateGuid);
    }
}